#pragma once

class CLayoutUI : public WindowImplBase
{
public:
	CLayoutUI(HWND hParent = NULL);
	~CLayoutUI();

public:
	LPCTSTR GetWindowClassName() const;

	virtual void OnFinalMessage(HWND hWnd);

	virtual void InitWindow();

	//virtual LRESULT ResponseDefaultKeyEvent(WPARAM wParam);

	virtual DString GetSkinFile();

	virtual DString GetSkinFolder();

	virtual CControlUI* CreateControl(LPCTSTR pstrClass);

	virtual LRESULT HandleMessage(UINT uMsg, WPARAM wParam, LPARAM lParam);

protected:
	void OnPrepare(TNotifyUI& msg);

	void Notify(TNotifyUI& msg);

	CDuiPtrArray* m_labels;

};

